const { logger } = require("ee-core/log");
const { winHardwareService } = require("./hardware/winHardware.js")
const { iosHardwareService } = require("./hardware/iosHardware.js")
const os = require('os');
const platform = os.platform();
let computer = null;
if (platform === 'win32') {
    // Windows
    computer = winHardwareService;
} else if (platform === 'darwin') {
    // macOS
    computer = iosHardwareService;
} else {
    // Linux 
}

module.exports = {
    computerService: computer
};
